add original name
add renamed name
add target name
should make it easier to analyze rename operations
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
std::swap(_syncProblems, oldProblems);
for (const auto &item : std::as_const(items)) {
- qCInfo(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction;
+ if (item->_instruction == CSyncEnums::CSYNC_INSTRUCTION_RENAME) {
+ qCInfo(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction << item->_file << item->_originalFile << item->_renameTarget;
+ } else {
+ qCInfo(lcStatusTracker) << "Investigating" << item->destination() << item->_status << item->_instruction << item->_direction;
+ }
_dirtyPaths.remove(item->destination());
if (hasErrorStatus(*item)) {